﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetaPoco;

namespace BrnMall.Manager.Domain.BusinessCard
{
    /// <summary>
    /// 名片标签
    /// </summary>
    [TableName("bc_tag")]
    [PrimaryKey("tagid")]
    public class Tag
    {
        /// <summary>
        /// 
        /// </summary>
        public int TagId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        ///0：未知， 1：男，2：女
        /// </summary>
        public string TagType { get; set; }
    }
    /// <summary>
    /// 用户标签
    /// </summary>
    [TableName("bc_usertag")]
    public class UserTag
    {
        public int Id { get; set; }
        public int Uid { get; set; }
        public int TagId { get; set; }
        public int HitCount { get; set; }
        public string Name { get; set; }
    }
    /// <summary>
    /// 用户标签点赞
    /// </summary>
    [TableName("bc_usertaghit")]
    public class UserTagHit
    {
        public int Id { get; set; }
        public int UserTagId { get; set; }
        public int HitUid { get; set; }
        public DateTime HitTime { get; set; }
    }
}
